#include <stdio.h>


typedef union STM_32
{
    int M_ALL_pwm;
    int M_1_pwm;
    int M_2_pwm;
    int M_3_pwm;
    double M_4_pwm;
}STM_32;

int main(int argc, char const *argv[])
{
    STM_32 PWM;

    PWM.M_4_pwm = 3.1415926;
    printf("M_1 = %d\n" , PWM.M_1_pwm);
    printf("M_2 = %d\n" , PWM.M_2_pwm);
    printf("M_3 = %d\n" , PWM.M_3_pwm);
    printf("M_4 = %f\n" , PWM.M_4_pwm);

    PWM.M_3_pwm = 56635;
    printf("M_1 = %d\n" , PWM.M_1_pwm);
    printf("M_2 = %d\n" , PWM.M_2_pwm);
    printf("M_3 = %d\n" , PWM.M_3_pwm);
    printf("M_4 = %f\n" , PWM.M_4_pwm);
    return 0;
}

/*
0000 0000 0000 0000

*/